<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>De Stijl: /Users/Piro/Dropbox/destijl/c/headers/dconstantes.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">De Stijl
   
   </div>
   <div id="projectbrief">Librairie pour le projet De Stijl</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('dconstantes_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">/Users/Piro/Dropbox/destijl/c/headers/dconstantes.h</div>  </div>
</div>
<div class="contents">
<a href="dconstantes_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00012"></a>00012 <span class="preprocessor">#ifndef CONSTANTES_H</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define CONSTANTES_H</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span>
<a name="l00018"></a><a class="code" href="dconstantes_8h.html#ac0d1d0ab0ef96822986e8744db88447c">00018</a> <span class="preprocessor">#define ACTION_FIND_ARENA                    (1)</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00023"></a><a class="code" href="dconstantes_8h.html#a3506067d063cd6b92e81610c4c1c0c69">00023</a> <span class="preprocessor">#define ACTION_ARENA_FAILED                  (2)</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00028"></a><a class="code" href="dconstantes_8h.html#ab4b9fceb249209f9091a7425dfc9e649">00028</a> <span class="preprocessor">#define ACTION_ARENA_IS_FOUND                (3)</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00033"></a><a class="code" href="dconstantes_8h.html#a94450724f7c54dc0b8abc867d9e18378">00033</a> <span class="preprocessor">#define ACTION_COMPUTE_CONTINUOUSLY_POSITION (4)</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00038"></a><a class="code" href="dconstantes_8h.html#a0a3d87060b4b61fc4765dc3d98d5ea12">00038</a> <span class="preprocessor">#define ACTION_STOP_COMPUTE_POSITION            (5)</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00043"></a><a class="code" href="dconstantes_8h.html#a0fef4214ffd40c1656d969ed8dae2e1d">00043</a> <span class="preprocessor">#define ACTION_CONNECT_ROBOT                 (10)</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>
<a name="l00048"></a><a class="code" href="dconstantes_8h.html#ad2934d2d205360e912d448e5bca13cdd">00048</a> <span class="preprocessor">#define BATTERY_LEVEL_HIGH                  (2)</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span>
<a name="l00053"></a><a class="code" href="dconstantes_8h.html#ab00e9b1ec148d3978adca59be44935cd">00053</a> <span class="preprocessor">#define BATTERY_LEVEL_MEDIUM                (1)</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span>
<a name="l00058"></a><a class="code" href="dconstantes_8h.html#ab6943aa72e5de58b475e88552aebc546">00058</a> <span class="preprocessor">#define BATTERY_LEVEL_LOW                   (0)</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span>
<a name="l00063"></a><a class="code" href="dconstantes_8h.html#ab2c7842f944e97c53dd90d7054986404">00063</a> <span class="preprocessor">#define BATTERY_LEVEL_UNKNOWN               (-1)</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span>
<a name="l00068"></a><a class="code" href="dconstantes_8h.html#a58beb0ba231acb1c8c1e9e11fd2aa6eb">00068</a> <span class="preprocessor">#define MESSAGE_TYPE_UNKNOWN                (&#39;U&#39;)</span>
<a name="l00069"></a>00069 <span class="preprocessor"></span>
<a name="l00073"></a><a class="code" href="dconstantes_8h.html#a6a6d2b56194ef9d9c351d147edd639d6">00073</a> <span class="preprocessor">#define MESSAGE_TYPE_CHAR                   (&#39;C&#39;)</span>
<a name="l00074"></a>00074 <span class="preprocessor"></span>
<a name="l00078"></a><a class="code" href="dconstantes_8h.html#aafeffb4eb769e18ad8b5ee5a7977c5b7">00078</a> <span class="preprocessor">#define MESSAGE_TYPE_INT                    (&#39;I&#39;)</span>
<a name="l00079"></a>00079 <span class="preprocessor"></span>
<a name="l00083"></a><a class="code" href="dconstantes_8h.html#a43162c197f9bf4bf7ae94ce3bd1ed443">00083</a> <span class="preprocessor">#define MESSAGE_TYPE_STRING                 (&#39;S&#39;)</span>
<a name="l00084"></a>00084 <span class="preprocessor"></span>
<a name="l00088"></a><a class="code" href="dconstantes_8h.html#a470271abdd978053342ffe4daf26480b">00088</a> <span class="preprocessor">#define MESSAGE_TYPE_STATE                  (&#39;R&#39;)</span>
<a name="l00089"></a>00089 <span class="preprocessor"></span>
<a name="l00093"></a><a class="code" href="dconstantes_8h.html#a27bfb8d70c96d993eed9143c97ccd95a">00093</a> <span class="preprocessor">#define MESSAGE_TYPE_IMAGE                  (&#39;V&#39;)</span>
<a name="l00094"></a>00094 <span class="preprocessor"></span>
<a name="l00098"></a><a class="code" href="dconstantes_8h.html#ac8dd5f966ca7a8732fdb3fc4b5d45725">00098</a> <span class="preprocessor">#define MESSAGE_TYPE_BATTERY                (&#39;B&#39;)</span>
<a name="l00099"></a>00099 <span class="preprocessor"></span>
<a name="l00103"></a><a class="code" href="dconstantes_8h.html#a402fef4c61d848e9ca5f401118d5cd20">00103</a> <span class="preprocessor">#define MESSAGE_TYPE_MOVEMENT              (&#39;M&#39;)</span>
<a name="l00104"></a>00104 <span class="preprocessor"></span>
<a name="l00108"></a><a class="code" href="dconstantes_8h.html#af68cc21df4693bee3b46776cc6de4e44">00108</a> <span class="preprocessor">#define MESSAGE_TYPE_ACTION                 (&#39;A&#39;)</span>
<a name="l00109"></a>00109 <span class="preprocessor"></span>
<a name="l00113"></a><a class="code" href="dconstantes_8h.html#a170da4dd659e59f4a1d7ce22dccd3a10">00113</a> <span class="preprocessor">#define MESSAGE_TYPE_ORDER                  (&#39;I&#39;)</span>
<a name="l00114"></a>00114 <span class="preprocessor"></span>
<a name="l00118"></a><a class="code" href="dconstantes_8h.html#a688bbddffa130493fcea64adc780347a">00118</a> <span class="preprocessor">#define MESSAGE_TYPE_POSITION               (&#39;P&#39;)</span>
<a name="l00119"></a>00119 <span class="preprocessor"></span>
<a name="l00123"></a><a class="code" href="dconstantes_8h.html#a28c2abf91555cd129c18fa57e8ba4aa2">00123</a> <span class="preprocessor">#define MESSAGE_TYPE_MISSION               (&#39;T&#39;)</span>
<a name="l00124"></a>00124 <span class="preprocessor"></span>
<a name="l00128"></a><a class="code" href="dconstantes_8h.html#a6a1d80458b02269295b55f29202f5daa">00128</a> <span class="preprocessor">#define MESSAGE_TYPE_VERSION               (&#39;F&#39;)</span>
<a name="l00129"></a>00129 <span class="preprocessor"></span>
<a name="l00133"></a><a class="code" href="dconstantes_8h.html#a37218d12289d6037dddfcae4b391f81d">00133</a> <span class="preprocessor">#define DIRECTION_STOP                      (0)</span>
<a name="l00134"></a>00134 <span class="preprocessor"></span>
<a name="l00138"></a><a class="code" href="dconstantes_8h.html#ad8c4f0ad93af747730978d0eb97e92c6">00138</a> <span class="preprocessor">#define DIRECTION_STRAIGHT                  (1)</span>
<a name="l00139"></a>00139 <span class="preprocessor"></span>
<a name="l00143"></a><a class="code" href="dconstantes_8h.html#a67080451e5c5225c8e11f84f26ae2252">00143</a> <span class="preprocessor">#define DIRECTION_RIGHT                     (2)</span>
<a name="l00144"></a>00144 <span class="preprocessor"></span>
<a name="l00148"></a><a class="code" href="dconstantes_8h.html#aeccc1afd6280d351aadb9a304bd6e04e">00148</a> <span class="preprocessor">#define DIRECTION_LEFT                      (3)</span>
<a name="l00149"></a>00149 <span class="preprocessor"></span>
<a name="l00153"></a><a class="code" href="dconstantes_8h.html#a219f8a888533b454e1891464cd48f68d">00153</a> <span class="preprocessor">#define DIRECTION_FORWARD                   (4)</span>
<a name="l00154"></a>00154 <span class="preprocessor"></span>
<a name="l00158"></a><a class="code" href="dconstantes_8h.html#a127b95320fdae5e70ba43d8ca2354f0b">00158</a> <span class="preprocessor">#define MISSION_TYPE_REACH_COORDINATE           (0)</span>
<a name="l00159"></a>00159 <span class="preprocessor"></span>
<a name="l00163"></a><a class="code" href="dconstantes_8h.html#a2014884ca30a45f901bad802c38306f3">00163</a> <span class="preprocessor">#define MISSION_TYPE_REACH_OBJECTIVE            (1)</span>
<a name="l00164"></a>00164 <span class="preprocessor"></span>
<a name="l00168"></a><a class="code" href="dconstantes_8h.html#a64bc1b5c414e1cfd1e3e2533195183e2">00168</a> <span class="preprocessor">#define MISSION_TYPE_STOP                       (2)</span>
<a name="l00169"></a>00169 <span class="preprocessor"></span>
<a name="l00173"></a><a class="code" href="dconstantes_8h.html#a867754a1ff543e1a8edf7d18c15128ce">00173</a> <span class="preprocessor">#define MISSION_OBJECTIVE_GREEN_AREA            (0)</span>
<a name="l00174"></a>00174 <span class="preprocessor"></span>
<a name="l00178"></a><a class="code" href="dconstantes_8h.html#ac3be7c504fbfeaf5843f0013625ba7cb">00178</a> <span class="preprocessor">#define MISSION_OBJECTIVE_RED_AREA              (1)</span>
<a name="l00179"></a>00179 <span class="preprocessor"></span>
<a name="l00183"></a><a class="code" href="dconstantes_8h.html#a126a4db5d669bbf4926d8821a4a9ef41">00183</a> <span class="preprocessor">#define MISSION_OBJECTIVE_GET_THE_BALL          (2)</span>
<a name="l00184"></a>00184 <span class="preprocessor"></span>
<a name="l00185"></a>00185 <span class="comment">/*************************************</span>
<a name="l00186"></a>00186 <span class="comment">*DEFINE ROBOT</span>
<a name="l00187"></a>00187 <span class="comment">*************************************/</span>
<a name="l00191"></a><a class="code" href="dconstantes_8h.html#a2403320c41f08e7567cb169de5db66b3">00191</a> <span class="preprocessor">#define STATUS_OK                               (0)</span>
<a name="l00192"></a>00192 <span class="preprocessor"></span>
<a name="l00196"></a><a class="code" href="dconstantes_8h.html#aa0201657b883c06dbc8d6bd872a9b24f">00196</a> <span class="preprocessor">#define STATUS_ERR_NO_FILE                      (1)</span>
<a name="l00197"></a>00197 <span class="preprocessor"></span>
<a name="l00201"></a><a class="code" href="dconstantes_8h.html#a13f7940d7133c0fe93dd4a0ba0812883">00201</a> <span class="preprocessor">#define STATUS_ERR_TIMEOUT                      (2)</span>
<a name="l00202"></a>00202 <span class="preprocessor"></span>
<a name="l00206"></a><a class="code" href="dconstantes_8h.html#a527dd93f390f589fe46f2136695a81ab">00206</a> <span class="preprocessor">#define STATUS_ERR_UNKNOWN_CMD                                  (3)</span>
<a name="l00207"></a>00207 <span class="preprocessor"></span>
<a name="l00211"></a><a class="code" href="dconstantes_8h.html#a838a5559cd25a02d80f11c94cad1e36d">00211</a> <span class="preprocessor">#define STATUS_ERR_INVALID_PARAMS                               (4)</span>
<a name="l00212"></a>00212 <span class="preprocessor"></span>
<a name="l00216"></a><a class="code" href="dconstantes_8h.html#aabbc946fb97a4d1219d8a4bbe30ffe1e">00216</a> <span class="preprocessor">#define STATUS_ERR_WDT_EXPIRED                                  (5)</span>
<a name="l00217"></a>00217 <span class="preprocessor"></span>
<a name="l00221"></a><a class="code" href="dconstantes_8h.html#a03214ee7a0a1b1ce7981319870a5e259">00221</a> <span class="preprocessor">#define STATUS_ERR_SELECT                       (6)       </span>
<a name="l00222"></a>00222 <span class="preprocessor"></span>
<a name="l00226"></a><a class="code" href="dconstantes_8h.html#aa05e4f65d9cde6279929980a6adad7fd">00226</a> <span class="preprocessor">#define STATUS_ERR_UNKNOWN                      (0xFF)</span>
<a name="l00227"></a>00227 <span class="preprocessor"></span>
<a name="l00231"></a><a class="code" href="dconstantes_8h.html#a3658b6713422dc261c11dfc7b7d335fc">00231</a> <span class="preprocessor">#define STATUS_ERR_CHECKSUM                     (7)</span>
<a name="l00232"></a>00232 <span class="preprocessor"></span>
<a name="l00236"></a><a class="code" href="dconstantes_8h.html#a39f74dd40beed167d68dd6426fb58fcf">00236</a> <span class="preprocessor">#define MOTEUR_STOP                                                             (0)</span>
<a name="l00237"></a>00237 <span class="preprocessor"></span>
<a name="l00241"></a><a class="code" href="dconstantes_8h.html#a9be7576aeec8aa841bc8eea4603b56a8">00241</a> <span class="preprocessor">#define MOTEUR_AVANT_LENT                       (1)</span>
<a name="l00242"></a>00242 <span class="preprocessor"></span>
<a name="l00246"></a><a class="code" href="dconstantes_8h.html#a9b84d828d3dba5d84300799cd6b40a4b">00246</a> <span class="preprocessor">#define MOTEUR_AVANT_RAPIDE                     (2)</span>
<a name="l00247"></a>00247 <span class="preprocessor"></span>
<a name="l00251"></a><a class="code" href="dconstantes_8h.html#a06dfe28bb298b3fc4e92dcc927f6e8f6">00251</a> <span class="preprocessor">#define MOTEUR_ARRIERE_LENT                     (-1)</span>
<a name="l00252"></a>00252 <span class="preprocessor"></span>
<a name="l00256"></a><a class="code" href="dconstantes_8h.html#acf56e24b3ad511d534341405e6e12153">00256</a> <span class="preprocessor">#define MOTEUR_ARRIERE_RAPIDE                                   (-2)</span>
<a name="l00257"></a>00257 <span class="preprocessor"></span>
<a name="l00261"></a><a class="code" href="dconstantes_8h.html#a49761e2e78fa58b68c51a9d17939d3b6">00261</a> <span class="preprocessor">#define SENSOR_EMPTY                            (0)</span>
<a name="l00262"></a>00262 <span class="preprocessor"></span>
<a name="l00266"></a><a class="code" href="dconstantes_8h.html#a00702dadac7775013d6574995ed94aa3">00266</a> <span class="preprocessor">#define SENSOR_FULL                             (1)</span>
<a name="l00267"></a>00267 <span class="preprocessor"></span>
<a name="l00271"></a><a class="code" href="dconstantes_8h.html#a743bf58ec3b3fe7d791b9ab95aefbbbd">00271</a> <span class="preprocessor">#define BATTERY_OK                              (2)</span>
<a name="l00272"></a>00272 <span class="preprocessor"></span>
<a name="l00276"></a><a class="code" href="dconstantes_8h.html#afd318e2ebde322f320606bb98b7b7ba1">00276</a> <span class="preprocessor">#define BATTERY_LOW                             (1)</span>
<a name="l00277"></a>00277 <span class="preprocessor"></span>
<a name="l00280"></a><a class="code" href="dconstantes_8h.html#a5a2c04ae977314a6c11219efe84ab6ac">00280</a> <span class="preprocessor">#define BATTERY_OFF                             (0)</span>
<a name="l00281"></a>00281 <span class="preprocessor"></span>    
<a name="l00285"></a><a class="code" href="dconstantes_8h.html#a1dc4007d14151dacbf96dfcb1562dfda">00285</a> <span class="preprocessor">#define HORAIRE                                                                 (0)</span>
<a name="l00286"></a>00286 <span class="preprocessor"></span>
<a name="l00290"></a><a class="code" href="dconstantes_8h.html#a5133ee1706d22d9c3cf76876baea4aa2">00290</a> <span class="preprocessor">#define ANTI_HORAIRE                                                    (1)</span>
<a name="l00291"></a>00291 <span class="preprocessor"></span>
<a name="l00292"></a>00292 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dconstantes_8h.html">dconstantes.h</a>      </li>

    <li class="footer">Generated on Tue Apr 24 2012 14:13:31 for De Stijl by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6 </li>
   </ul>
 </div>


</body>
</html>
